import { EffectDataSet } from "@/game/Effect";

export const effectTable: Record<number, EffectDataSet> = {
  [20000004]: {
    description: "置入手牌后，复制自身", name: "液态",
    async func(timing, para) {
      if (para.obj === this.character) {
        const num = Math.floor(para.para.damge * 0.1)
        para.sub.currentHP -= num
        console.log(`${para.sub.name} 受到攻击反击 ${num} 点伤害,血量`,`${para.sub.temppro.currentHP}/${para.sub.temppro.maxHP}`);
      }
    } 
  },
}